import { MICRO_SERVICE_ADMIN } from '~/constants/service-constant.ts'
import type { MenuData } from '~/layouts/basic-layout/typing.ts'

enum Api {
  QueryVueMenuListByCurrentUser = '/webservice/menu/queryVueMenuListByCurrentUser',
}

export function getRouteMenusApi() {
  return useGet<MenuData>(MICRO_SERVICE_ADMIN + Api.QueryVueMenuListByCurrentUser)
}
